package.path  = package.path..";.\\LuaSocket\\?.lua"
package.cpath = package.cpath..";.\\LuaSocket\\?.dll"
local mycall = {}

function mycall.onPlayerTryChangeSlot(playerId, side, slotId)
    net.send_chat("test")
    local socket = require("socket")
    local socketUrl = require("url")
    local http = require("http")
    
    net.send_chat(tostring(socket).. "\n" .. tostring(http))
    return true
end

DCS.setUserCallbacks(mycall)